package com.jiangjiang.eshop.auth.operation;

import com.jiangjiang.eshop.auth.dto.PriorityNode;

/**
 * @Author Jianghaowen
 * @Date 2021/7/20
 * @Description: TODO
 * @Version V1.0
 **/
public interface PriorityOperation<T> {

    /**
     * 执行操作
     * @param node 权限节点
     * @return 处理结果
     * @throws Exception 异常
     */
    T doExecute(PriorityNode node) throws Exception;
}
